package com.yunhe.java.pro6;

/**
 * Created by Administrator on 2017/7/27 0027.
 */
public class Cat {
    public static void main(String[] args){
        Animal cat = new Animal();
        cat.name="Catyy";
//        cat.sex;
        cat.color="黄白相间";
        cat.age=6;
        cat.hobby="睡觉";
        System.out.println(cat.name);
        System.out.println(cat.sex);
        System.out.println(cat.color);
        System.out.println(cat.age);
        System.out.println(cat.hobby);
    }
}
